package com.jiamao.goplay.ui.user.vm;

import androidx.annotation.NonNull;

import com.jiamao.goplay.ui.user.UserEditUserInfoFragment;

import me.goldze.mvvmhabit.base.BaseViewModel;
import me.goldze.mvvmhabit.base.MultiItemViewModel;
import me.goldze.mvvmhabit.binding.command.BindingAction;
import me.goldze.mvvmhabit.binding.command.BindingCommand;

public class MePhotoAddrItemVM extends MultiItemViewModel {

    public MePhotoAddrItemVM(@NonNull BaseViewModel viewModel) {
        super(viewModel);

    }

    //条目的点击事件
    public BindingCommand itemClick = new BindingCommand(new BindingAction() {
        @Override
        public void call() {

            viewModel.startContainerActivity(UserEditUserInfoFragment.class.getCanonicalName());
        }
    });
}
